//
//  UIImageView+Additions.h
//  TouchableImageView
//
//  Created by Johnny on 4/25/14.
//  Copyright (c) 2014 Johnny. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSUInteger, UIImageViewThumbType) {
    UIImageViewThumbTypeOriginal,
    UIImageViewThumbTypeSmall,
    UIImageViewThumbTypeMiddle,
    UIImageViewThumbTypeLarge
};

@interface UIImageView (Additions)

- (void)setImageWithURL:(NSURL *)url imageType:(UIImageViewThumbType)imageType;
- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholderImage imageType:(UIImageViewThumbType)imageType;
- (void)addTarget:(id)target action:(SEL)action forControlEvents:(UIControlEvents)controlEvents;

@end
